From: Richard M. Stallman Date: Wed, 26 May 1993 03:49:40 +0000 (+0000) Subject: (POINTER): Always use char *. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95951 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=a8c0e5ea6b7639c4cabd939676764062f11b96a5;p=emacs.git (POINTER): Always use char *. --- diff --git a/src/ralloc.c b/src/ralloc.c index e5860a1d784..a8ab0754268 100644 --- a/src/ralloc.c +++ b/src/ralloc.c @@ -33,6 +33,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* The important properties of this type are that 1) it's a pointer, and 2) arithmetic on it should work as if the size of the object pointed to has a size of 1. */ +#if 0 /* Arithmetic on void* is a GCC extension. */ #ifdef __STDC__ typedef void *POINTER; #else @@ -44,6 +45,10 @@ typedef void *POINTER; typedef char *POINTER; #endif +#endif /* 0 */ + +/* Unconditionally use char * for this. */ +typedef char *POINTER; typedef unsigned long SIZE;